package com.agentai.system.service.impl;

import com.agentai.framework.common.utils.SerialNoAPI;
import com.agentai.system.service.SysSerialNoService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 系统序列号管理表
 *
 * @since 1.0.0 2024-11-09
 */
@Service
@AllArgsConstructor
public class SysSerialNoAPIServiceImpl implements SerialNoAPI {

    private SysSerialNoService sysSerialNoService;

    @Override
    public String getSeqNumberByType(String serialType) {
        return sysSerialNoService.getSeqNumberByType(serialType);
    }
}
